package com.ssy.jt808.gateway.domain.exception;


import com.ssy.gaea.common.exception.BaseException;
import com.ssy.jt808.gateway.domain.constant.ModelConstant;

/**
 * @author wangzezhou
 */
public class TerminalUnauthorizedException extends BaseException{

    public TerminalUnauthorizedException( String msg ){
        super(msg);
    }

    public TerminalUnauthorizedException( String msgPattern, Object... msgArgs ){
        super(msgPattern, msgArgs);
    }

    /**
     * 获取异常模块名称
     *
     * @return 模块名
     */
    @Override
    protected String module(){
        return ModelConstant.NAME;
    }
}